package com.forcht.common.domain;

import lombok.*;

import java.util.Arrays;

/**
 * Created by forcht on 2018/4/11.
 * 响应
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Response {
    //响应头部
    private ResponseHeader header;
    //响应体
    private byte[] body;

    @Override
    public String toString() {
        return "Response{" +
                "header=" + header +
                ", body=" + new String(body) +
                '}';
    }
}
